import sys
from PyQt5.QtWidgets import QApplication, QMainWindow
from PyQt5.QtGui import QIcon

class Main_Window(QMainWindow):
    def __init__(self):
        super().__init__()
        self.initUI()

    def initUI(self):
        desktop = QApplication.desktop()
        self.resize(desktop.width(), desktop.height())
        self.setWindowTitle("航空摄影测量数据整理软件")
        self.setWindowIcon(QIcon("./Include/assets/window_icon.png"))

def main():
    app = QApplication(sys.argv)
    main_window = Main_Window()
    main_window.show()
    sys.exit(app.exec_())

if __name__ == "__main__":
    main()